/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package polandballgame;
import java.awt.Graphics;
import java.awt.Color;

/**
 *
 * @author POed
 */
public class MineralSegment extends GameObject {
    
    
    @Override public void draw(Graphics context) {
        
        context.setColor(Color.cyan);
        context.drawOval(x * Engine.cellSize + Engine.cellSize / 5, y * Engine.cellSize + Engine.cellSize / 5, Engine.cellSize * 3 / 5, Engine.cellSize * 3 / 5);
        context.setColor(Color.MAGENTA);
        context.fillOval(x * Engine.cellSize + Engine.cellSize / 5, y * Engine.cellSize + Engine.cellSize / 5, Engine.cellSize * 3 / 5, Engine.cellSize * 3 / 5);
        
    }
    
    public MineralSegment(int xPos, int yPos) {
        
        super(xPos, yPos);
        this.passable = true;
        
        type = 2;
    }
}
